<extend name="Console:index"/>
<block name="main">

    <!--路径导航-->
    <div>
        <ol class="breadcrumb">
            <li>首页管理</li>
            <li>电影管理</li>
            <li>电影集数管理</li>
            <li class="active" >编辑集数</li>
            <li class="active"> <a href="{$Think.server.http_referer}" class="btn btn-default btn-xs" >返回上一页</a></li>
        </ol>

    </div>
    <div style="margin-left: 10px">
       <div>

           <form class="form-horizontal" action="{:U('MovieLevel2/edit')}" enctype="multipart/form-data"  method="post">

               <input type="hidden" name="id" value="{$data.id}">
               <input type="hidden" name="movie_id" value="{$data.movie_id}">

               <div class="form-group">
                   <label for="inputtext1" class=" col-sm-2 control-label" style="color:red">名称: </label>
                   <div class="col-sm-6">
                       <input type="text" class="form-control" id="inputtext1" name="name" value="{$data.name}" required="">
                   </div>
               </div>

               <!--<div class="form-group">-->
                   <!--<label for="inputtext1" class=" col-sm-offset-3 col-sm-2 control-label" >跳转url: </label>-->
                   <!--<div class="col-sm-4">-->
                       <!--<input type="text" class="form-control" id="inputtext1" name="url"  value="{$data.url}">-->
                   <!--</div>-->
               <!--</div>-->


               <!--<div class="form-group">-->
                   <!--<label for="inputtext11" class=" col-sm-offset-3 col-sm-2 control-label">旧封面</label>-->
                   <!--<div class="col-sm-4">-->
                       <!--<img src="{$data.img_url}" alt="图片无法显示"  height="150px" id="inputtext11"/>-->
                   <!--</div>-->
               <!--</div>-->


               <!--<div class="form-group">-->
                   <!--<label for="inputtext0" class=" col-sm-offset-3 col-sm-2 control-label">新封面上传: </label>-->
                   <!--<div class="col-sm-4">-->
                       <!--<input type="file" id="inputtext0" name="img_url" ><small>图片小于3M,格式只能为： jpg, gif, png, jpeg</small>-->
                   <!--</div>-->
               <!--</div>-->



               <div class="form-group">
                   <label  class="  col-sm-2 control-label" style="color:red">集数是否开启 </label>
                   <div class="col-sm-4">
                       <input type="radio" class="radio-inline"  name="status" <eq name="data['status']" value="2">checked</eq> value="2" >否
                       <input type="radio" class="radio-inline"  name="status"  <eq name="data['status']" value="1">checked</eq>  value="1" >是
                   </div>
               </div>


               <div class="form-group">
                   <label for="inputtext10012" class=" col-sm-2 control-label" style="color:red">排序:</label>
                   <div class="col-sm-6">
                       <input type="text" class="form-control" id="inputtext10014"   name="sort" value="{$data.sort}"  >
                   </div>
               </div>


               <input type="reset" value="重置" class="btn btn-warning col-sm-offset-2 col-sm-1"/>
               <input type="submit" value="保存" class="btn btn-warning  col-sm-offset-1 col-sm-1"/>

           </form>

       </div>
    </div>



</block>